package cc.customer.myCustomer.services;

import cc.customer.common.domain.QueryRequest;
import cc.customer.common.domain.ResponseBo;
import cc.customer.common.service.IService;

import cc.customer.myCustomer.damain.CusResource;
import cc.customer.myCustomer.damain.EmpFenPei;
import cc.customer.myCustomer.damain.MyCustomer;
import cc.customer.system.domain.MyUser;
import com.alibaba.fastjson.JSONObject;

import java.util.List;

public interface MyCustomerService extends IService<CusResource> {

   /**我的客户列表*/
   List<CusResource>  selectMyCustomer(CusResource cusResource, MyUser user);
   /**放弃客户*/
   ResponseBo giveUpMyCustomer(String keys, String types,String userid,String names);

   /**导出*/
   List<CusResource> exportBigEmpInfo(String keyids);

   /**分享我的客户*/
   ResponseBo shareMyCustomer(CusResource cusResource,String flag,String userid,String names);

   /**App分享我的客户*/
   ResponseBo shareAppMyCustomer(CusResource cusResource,String flag,String userid,String names);
   /**转让客户**/
   ResponseBo MyCustomerTransfer(CusResource cusResource,String userid);

   /**转让app客户**/
   ResponseBo MyAppCustomerTransfer(CusResource cusResource,String userid);


   /**部门公海领取用户**/
   ResponseBo receviceMyCustomer(CusResource cusResource);

   /**公司大公海得重新分配**/
   ResponseBo companyMyCustomerDistore(CusResource cusResource);

   /**公司大公海重新领取**/
   ResponseBo companyMyCustomerLingqu(CusResource cusResource);

   /**设置标签*/
   ResponseBo myCustomerLabel(CusResource cusResource,String pid,String idstr,String userid) throws Exception;

   /**我的客户移动分组*/
   ResponseBo moveCusGroup(CusResource cusResource);


   /**客户查重*/
   List<CusResource> checkCustomer(CusResource cus);


   /**通过手机查询重复详情列表*/
   List<CusResource> checkCustomerByMobile(CusResource cus);

   /**获取分配的资源**/
   List<EmpFenPei> exportAllFenEmpInfo(String types,String uuids);


}
